package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "sm_member_push_quartz")
public class SmMemberPushQuartz {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 用户ID
     */
    @TableField(value = "member_id")
    private String memberId;

    @TableField(value = "student_id")
    private String studentId;

    @TableField(value = "teacher_id")
    private String teacherId;

    /**
     * 类型:
1-给教师推送
2-给学生推送
     */
    @TableField(value = "`type`")
    private String type;

    public static final String COL_ID = "id";

    public static final String COL_MEMBER_ID = "member_id";

    public static final String COL_STUDENT_ID = "student_id";

    public static final String COL_TEACHER_ID = "teacher_id";

    public static final String COL_TYPE = "type";
}